package com.ctrip.ec.biz.entity.cart;
import com.ctrip.ec.dal.DbColumn;
import com.ctrip.ec.dal.DbTable;
import com.ctrip.ec.dal.EntityBase;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.sql.Timestamp;
@DbTable("e_cart")
public class CartEntity extends EntityBase {
    @DbColumn("id")
    private Long id;
    @DbColumn("member_id")
    private Long memberId;
    @DbColumn("goods_id")
    private Long goodsId;
    @DbColumn("spec_id")
    private Long specId;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("create_time")
    private Timestamp createTime;
    @DbColumn("goods_num")
    private Integer goodsNum;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",locale = "zh" ,timezone="GMT+8")
    @DbColumn("update_time")
    private Timestamp updateTime;
    @DbColumn("user_note")
    private String userNote;
    public  Long getId(){
        return this.id;
    }
    public void setId(Long id){
        this.id = id;
    }
    public  Long getMemberId(){
        return this.memberId;
    }
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    public  Long getGoodsId(){
        return this.goodsId;
    }
    public void setGoodsId(Long goodsId){
        this.goodsId = goodsId;
    }
    public  Long getSpecId(){
        return this.specId;
    }
    public void setSpecId(Long specId){
        this.specId = specId;
    }
    public  Timestamp getCreateTime(){
        return this.createTime;
    }
    public void setCreateTime(Timestamp createTime){
        this.createTime = createTime;
    }
    public  Integer getGoodsNum(){
        return this.goodsNum;
    }
    public void setGoodsNum(Integer goodsNum){
        this.goodsNum = goodsNum;
    }
    public  Timestamp getUpdateTime(){
        return this.updateTime;
    }
    public void setUpdateTime(Timestamp updateTime){
        this.updateTime = updateTime;
    }
    public  String getUserNote(){
        return this.userNote;
    }
    public void setUserNote(String userNote){
        this.userNote = userNote;
    }
}